using System.Data;
using ET;
using DA;
namespace BLL
{
	public class Contact_BLL
	{
	public static Contact_DAL cls = new Contact_DAL();

	#region Getdata
	public DataTable BindGirdContact(string keywords)
	{
	return cls.BindGirdtb_Contact(keywords);
	}
    public DataTable BindGirdContactDetail(int id)
    {
        return cls.BindGirdtb_ContactDetail(id);
    }
	#endregion

	#region Insert
	public static bool InsertContact(Contact_ET obj)
	{
	return cls.Inserttb_Contact(obj);
	}
	#endregion

	#region Update
	public static bool UpdateContact(Contact_ET obj)
	{
	return cls.Updatetb_Contact(obj);
	}
	#endregion

	#region Delete
	public static bool DeleteContact(int id)
	{
	return cls.Deletetb_Contact(id);
	}
	#endregion
	}
}